﻿// *----------------------------------------------------------------
// Copyright (C) 2017 通通优品
// 版权所有。
// 
// 类名：TongTongMallDomainServiceBase.cs
// 功能描述：TongTongMall.MallWeb.Core
// 
// Create User：jym 2017/02/09
// 
// Edit User：UserName,EditTime
// Describe：Describe
// ----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TongTongMall.Domain.Services;
using TongTongMall.Events;
using TongTongMall.MallWeb.Core.Instance;
using TongTongMall.Redis.Cache.Configuration;

namespace TongTongMall.MallWeb.Core
{
    public class TongTongMallDomainServiceBase : DomainService
    {
        public IInstance Instance { get; set; } = DefaultInstance.Instance;

        public IEventBus EventBus { get; set; } = NullEventBus.Instance;

        /// <summary>
        /// redis的配置内容
        /// </summary>
        public IRedisConfiguration RedisConfigurationManager { get; set; } = RedisConfiguration.Default;
    }
}
